From 57b00da84b1bacc4253fff1e9a7b2f311311def8 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Mon, 26 Feb 2007 10:18:52 +0000 Subject: [PATCH] libxc, ia64: Added new arch_hook for registering ia64 big endian images. Signed-off-by: Dietmar Hahn --- tools/libxc/xc_dom_ia64.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/libxc/xc_dom_ia64.c b/tools/libxc/xc_dom_ia64.c index 02e19ba129..4eef976154 100644 --- a/tools/libxc/xc_dom_ia64.c +++ b/tools/libxc/xc_dom_ia64.c @@ -113,9 +113,19 @@ static struct xc_dom_arch xc_dom_arch = { .vcpu = vcpu_ia64, }; +static struct xc_dom_arch xc_dom_arch_ia64be = { + .guest_type = "xen-3.0-ia64be", + .page_shift = PAGE_SHIFT_IA64, + .alloc_magic_pages = alloc_magic_pages, + .start_info = start_info_ia64, + .shared_info = shared_info_ia64, + .vcpu = vcpu_ia64, +}; + static void __init register_arch_hooks(void) { xc_dom_register_arch_hooks(&xc_dom_arch); + xc_dom_register_arch_hooks(&xc_dom_arch_ia64be); } /* -- 2.30.2